﻿using System;
using System.Collections.Generic;
using System.Text;

namespace GroupChat2013.Entity
{
    /// <summary>
    /// 最近聊天记录实体
    /// </summary>
    public class RecChatInfo
    {
        public int Id { get; set; }

        /// <summary>
        /// 聊天ID 可能是UserId/GroupId
        /// </summary>
        public string ChatId { get; set; }

        /// <summary>
        /// 聊天类型  1:私聊 2:群聊
        /// </summary>
        public ChatType ChatType { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        public string ChatName { get; set; }

        /// <summary>
        /// 昵称
        /// </summary>
        public string NickName { get; set; }

        /// <summary>
        /// 头像路径
        /// </summary>
        public string HeadUrl { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
    }
}
